package UtranNRMSystem;
/**
 * Generated from IDL enum "CellModeEnumType".
 *
 * @author JacORB IDL compiler V 2.3.0, 17-Feb-2007
 * @version generated at 2013-5-20 22:07:19
 */

public final class CellModeEnumType
	implements org.omg.CORBA.portable.IDLEntity
{
	private int value = -1;
	public static final int _FDDMode = 0;
	public static final CellModeEnumType FDDMode = new CellModeEnumType(_FDDMode);
	public static final int _TDDMode_1_28Mcps = 1;
	public static final CellModeEnumType TDDMode_1_28Mcps = new CellModeEnumType(_TDDMode_1_28Mcps);
	public static final int _TDDMode_3_84Mcps = 2;
	public static final CellModeEnumType TDDMode_3_84Mcps = new CellModeEnumType(_TDDMode_3_84Mcps);
	public int value()
	{
		return value;
	}
	public static CellModeEnumType from_int(int value)
	{
		switch (value) {
			case _FDDMode: return FDDMode;
			case _TDDMode_1_28Mcps: return TDDMode_1_28Mcps;
			case _TDDMode_3_84Mcps: return TDDMode_3_84Mcps;
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	public String toString()
	{
		switch (value) {
			case _FDDMode: return "FDDMode";
			case _TDDMode_1_28Mcps: return "TDDMode_1_28Mcps";
			case _TDDMode_3_84Mcps: return "TDDMode_3_84Mcps";
			default: throw new org.omg.CORBA.BAD_PARAM();
		}
	}
	protected CellModeEnumType(int i)
	{
		value = i;
	}
	java.lang.Object readResolve()
	throws java.io.ObjectStreamException
	{
		return from_int(value());
	}
}
